import "./jjzyx.css";
import { URLJJZYX } from "./config";
import { getData } from "api/getData.js";
import render from "./item.art";

getData(URLJJZYX)
  .then((res) => {
    const panel = document.querySelector("#jjzyxPanel");
    const html = render(res);
    panel.innerHTML = html;
  })
  .catch((err) => console.log(err));
